/**
 * Created by zhaojm on 15/4/14.
 */
game.UILayer = cc.Layer.extend({

    _bestScoreLbl : null,
    _goalScoreLbl : null,
    _levelLbl : null,
    _scoreLbl : null,

    ctor:function(){
        this._super();
        var winSize = cc.winSize;

        this._scoreLbl = cc.LabelTTF.create('0', 'Arial', 128);
        this._scoreLbl.setColor(new cc.Color(231, 231, 231));
        this._scoreLbl.setPosition(cc.p(winSize.width * 0.5, winSize.height  - 10));
        this._scoreLbl.setAnchorPoint(cc.p(0.5, 1));
        this.addChild(this._scoreLbl);
    },


    setScore : function(score){
        this._scoreLbl.setString(score);
    },


});